Skip to content

Commit 99a850a

Browse files
authored
Merge pull request #6678 from emilghittasv/playwright-update-aaq-test-questions-content
Playwright: Update AAQ test question content
2 parents bdaab97 + 57aa850 commit 99a850a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

playwright_tests/test_data/aaq_question.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"valid_firefox_question": {
33
"subject": "Test Question ",
44
"subject_updated": "Test Question Updated",
5-
"topic_value": "Browse",
6-
"question_body": "'''Lorem ipsum''' dolor ''sit amet'', consectetur [https://www.mediafax.ro adipiscing] elit, [[Stage test owl|sed]] do eiusmod tempor incididunt ut labore et dolore magna aliqua. Tincidunt id aliquet risus feugiat in ante. Etiam non quam lacus suspendisse faucibus interdum posuere. Diam sollicitudin tempor id eu nisl nunc mi ipsum. Velit egestas dui id ornare arcu odio ut sem nulla. Risus nec feugiat in fermentum posuere urna nec tincidunt. Sed egestas egestas fringilla phasellus faucibus. Amet consectetur adipiscing elit duis tristique. Lorem mollis aliquam ut porttitor. Purus sit amet volutpat consequat mauris. Lobortis mattis aliquam faucibus purus in. Enim praesent elementum facilisis leo vel. Volutpat lacus laoreet non curabitur gravida arcu. Tempus iaculis urna id volutpat.",
5+
"topic_value": "Accessibility",
6+
"question_body": "'''I have a problem''' when I ''access'', the following link: [https://www.mediafax.ro adipiscing], the Firefox browser is not performing is unable to output the messages coming from the screen reader. I've tried reading the following article: [[Stage test owl|sed]] but it doesn't help me understand what is the root cause and how can I fixed the missing content. Can somebody please help me?",
77
"body_updated": "Updated body",
8-
"simple_body_text": "Body content test",
8+
"simple_body_text": "Firefox doesn't work in combination with the NVDA screen reader",
99
"image_name": "test.image.jpg",
1010
"image_path": "test_data/test-image.png",
1111
"question_reply": "Test reply to question",

playwright_tests/tests/ask_a_question_tests/aaq_tests/test_aaq_form_page.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ def test_post_aaq_questions_for_all_freemium_products_topics(page: Page):
268268
subject=utilities.aaq_question_test_data["valid_firefox_question"]
269269
["subject"],
270270
topic_name=topic,
271-
body=utilities.aaq_question_test_data["valid_firefox_question"]
272-
["question_body"],
271+
body=f"I have a problem with {topic}. It doesn't seem to work whatever I"
272+
f" try to do... Can you please help me?",
273273
attach_image=False,
274274
expected_locator=sumo_pages.question_page.questions_header
275275
)

0 commit comments

Comments
 (0)